ASP.NET Web API – Token Based Authentication Tutorial

youtube
ASP.NET Web API – Token Based Authentication Tutorial When it comes to securing ASP.NET applications, authentication and authorization play key roles. Authentication verifies a user’s identity by checking their credentials, while authorization verifies a user’s roles. This video provides an overview of token-based authentication, contrasting it with cookie-based methods. Learn how tokens and refresh tokens function, why token-based systems offer enhanced security with shorter expiration times, and the process of generating new tokens. This course is perfect for understanding secure data access in web applications. ✏️ Course from @DotNetHow 💻 Code - Beginning: - Final: Learn more from Ervis and get coupons for his other courses: ❤️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvented interactive learning: ⭐️ Chapters ⭐️ - 0:00:00 Introduction - 0:02:07 Authentication vs Authorization - 0:04:34 Traditional vs Token-based Authentication - 0:14:10 Adding Identity tables with EFCore - 0:21:55 Configuring Authentication in Startup.cs - 0:33:07 Setting up Authentication Controller - 0:37:54 Registering a new user - 0:47:36 Generating an access and a refresh token - 1:02:38 Logging in an existing user - 1:14:10 Get access token using the refresh token - 1:41:41 Adding role based authentication - 2:02:55 Thank you 🎉 Thanks to our Champion and Sponsor supporters: 👾 Drake Milly 👾 Ulises Moralez 👾 Goddard Tan 👾 David MG 👾 Matthew Springman 👾 Claudio 👾 Oscar R. 👾 jedi-or-sith 👾 Nattira
  2025/09/18      youtube

Our Tag

最近投稿されたプログラミング学習動画

Python Project Management With uv: Creating & Running Your Project Wit

python

This is a preview of the video course, "...

  2025/09/18

ASP.NET Web API – Token Based Authentication Tutorial

When it comes to securing ASP.NET applic...

  2025/09/18

Python for Beginners Information Session

python

A live information session to introduce ...

  2025/09/18

Flutter & Figma MCP | Observable Flutter #70

flutter

Watch as Craig Labenz is joined by Muham...

  2025/09/17

Eager vs Lazy in Polars: What You Need to Know

From our podcast, episode 260 with Jeroe...

  2025/09/17

Databricks Data Engineer Associate Certification Course – Pass the Exa

Prepare for the Databricks Data Engineer...

  2025/09/17

Git Crash Course #4 - Staging Files

In this Git tutorial series, you'll lear...

  2025/09/17

Python for Beginners: Code With Confidence

python

Python for Beginners: Code With Confiden...

  2025/09/16

Transform UI with Gemini in Android Studio

android
android

Refine your Compose UIs faster than ever...

  2025/09/16

Why You Never Get Better at Learning

study

👉 Check out the course here: #AD Here'...

  2025/09/16

Git Crash Course #3 - Making a New Git Repository

In this Git tutorial series, you'll lear...

  2025/09/16

Git Crash Course #2 - Command Line Basics

In this Git tutorial series, you'll lear...

  2025/09/16

XR development in Android Studio

android
android

Android Studio Narwhal brings dedicated ...

  2025/09/15

Coding TRAIN WRECK: Bayesian Text Classification

Warning, this live stream was a mess and...

  2025/09/15

Working with Python Polars: DataFrames, Grouping, Aggregation, and the

python

Polars is a high-performance data frame ...

  2025/09/15

What is AI? #WebAI

We’re demystifying AI. Join Andre and Al...

  2025/09/15